package com.info.zhiduoduo.repository.mapper.crowdsource;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.info.zhiduoduo.repository.entity.crowdsource.OddJobMerchantBalance;
import org.apache.ibatis.annotations.Select;

/**
 * @author tianyonghong
 * @create 2023/2/23
 */
public interface OddJobMerchantBalanceMapper extends BaseMapper<OddJobMerchantBalance> {

    @Select("SELECT * FROM zdd_odd_job_merchant_balance " +
            " where merchant_id = #{merchantId} " +
            " and party_id = #{partyId}")
    OddJobMerchantBalance selectBalanceByMerchantAndParty(Integer merchantId, Integer partyId);
}
